AmeliaBooking\Infrastructure\Services\Payment\SquareService S

Total Complexity 46
Dependencies 21
Dependents 0
Total lines 370
Lines of code 177
Logical lines of code 115
Comment lines 113
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
execute()
A
45 8 43
getPaymentLink()
A
55 8 17
updatePaymentLink()
S
58 4 15
refreshAccessToken()
S
57 3 16
getLocations()
S
63 4 10
getTransactionAmount()
S
67 3 7
disconnectAccount()
S
62 2 11
refund()
S
61 2 11
getApiResponse()
S
63 2 10
getLocation()
S
70 2 5
getClient()
S
70 2 5
__construct()
S
75 1 4
isAccessTokenExpired()
S
78 1 3
completePayment()
S
78 1 3
getErrorMessage()
S
66 1 10
getOrderResponse()
S
78 1 3
getAuthUrl()
S
75 1 4